<%#
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>

<div class="depot-form">
  <fieldset>
    <legend>请登录</legend>

    <% form_for :user do |form| %>
      <p>
        <label for="user_name">姓名：</label>
        <%= form.text_field :name, :size => 30 %>
      </p>

      <p>
        <label for="user_password">密码：</label>
        <%= form.password_field :password, :size => 30 %>
      </p>

      <%= submit_tag "登陆", :class => "submit" %>
    <% end %>
  </fieldset>
</div>

